package com.smart4j.framework.aop.spring.one;

import java.lang.reflect.Method;

import org.springframework.aop.MethodBeforeAdvice;

/**
 * description: Spring AOP --- MethodBeforeAdvice 前置增强
 * @version v1.0
 * @author w
 * @date 2018年9月13日下午10:57:49
 */
public class GreetingBeforeAdvice implements MethodBeforeAdvice {

	@Override
	public void before(Method method, Object[] args, Object target) throws Throwable {
		System.out.println("before .. methodName :"+method.getName());
	}

	
		
}
